﻿using System.Collections.Generic;
namespace LeRenard.ScriptWars.Model.Scripting
{
    /// <summary>
    /// Defines an algorithm.
    /// </summary>
    public interface IAlgorithm
    {
        /// <summary>
        /// Gets the number of lines the script has.
        /// </summary>
        int LineCount { get; }

        /// <summary>
        /// Gets the <see cref="IOperation"/>s defined in the script.
        /// </summary>
        IEnumerable<IOperation> Operations { get; }
    }
}
